package com.jack.payment.entity.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jack.payment.rabbitmq.entity.QueueContentModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(value=JsonInclude.Include.NON_NULL)
public class PayAttachDetail implements Serializable {
    @Schema(description = "队列数据详情")
    private QueueContentModel queueDetail;
    @Schema(description = "队列id")
    private String mqId;
    @Schema(description = "总调用次数")
    private Integer sumCount;
    @Schema(description = "成功调用次数")
    private Integer successCount;
    @Schema(description = "失败调用次数")
    private Integer failCount;
}
